/**  
 * Project Name:ofs-service-common  
 * File Name:AlipayYuebaoTradeInfo.java  
 * Package Name:com.moxie.cloud.services.ofs.common.alipay.dto  
 * Date:2016年6月1日下午7:08:17  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.alipay.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**  
 * ClassName:AlipayYuebaoTradeInfo <br/>  
 * Function: 余额宝每月收入支出情况 <br/>  
 * Date:     2016年6月1日 下午7:08:17 <br/>  
 * @author   yuandong  
 * @version    
 * @since    JDK 1.6  
 * @see        
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class AlipayYuebaoTradeInfoEntity implements Saveable {
	private long id;
	private String userId;
	private String mappingId;
	private String billCycle;
	private String level;
	private BigDecimal consumeAmount;
	private String consumeAmountCurrency;
	private BigDecimal incomeAmount;
	private String incomeAmountCurrency;
	private BigDecimal turnInAmount;
	private String turnInAmountCurrency;
	private BigDecimal turnOutAmount;
	private String turnOutAmountCurrency;
	private Date createTime;
    private Date lastModifyTime;
    
    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_alipay_yuebao_tradeinfo";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }
    
	public String getMappingId() {
		return mappingId;
	}
	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}
	public String getBillCycle() {
		return billCycle;
	}
	public void setBillCycle(String billCycle) {
		this.billCycle = billCycle;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public BigDecimal getConsumeAmount() {
		return consumeAmount;
	}
	public void setConsumeAmount(BigDecimal consumeAmount) {
		this.consumeAmount = consumeAmount;
	}
	public String getConsumeAmountCurrency() {
		return consumeAmountCurrency;
	}
	public void setConsumeAmountCurrency(String consumeAmountCurrency) {
		this.consumeAmountCurrency = consumeAmountCurrency;
	}
	public BigDecimal getIncomeAmount() {
		return incomeAmount;
	}
	public void setIncomeAmount(BigDecimal incomeAmount) {
		this.incomeAmount = incomeAmount;
	}
	public String getIncomeAmountCurrency() {
		return incomeAmountCurrency;
	}
	public void setIncomeAmountCurrency(String incomeAmountCurrency) {
		this.incomeAmountCurrency = incomeAmountCurrency;
	}
	public BigDecimal getTurnInAmount() {
		return turnInAmount;
	}
	public void setTurnInAmount(BigDecimal turnInAmount) {
		this.turnInAmount = turnInAmount;
	}
	public String getTurnInAmountCurrency() {
		return turnInAmountCurrency;
	}
	public void setTurnInAmountCurrency(String turnInAmountCurrency) {
		this.turnInAmountCurrency = turnInAmountCurrency;
	}
	public BigDecimal getTurnOutAmount() {
		return turnOutAmount;
	}
	public void setTurnOutAmount(BigDecimal turnOutAmount) {
		this.turnOutAmount = turnOutAmount;
	}
	public String getTurnOutAmountCurrency() {
		return turnOutAmountCurrency;
	}
	public void setTurnOutAmountCurrency(String turnOutAmountCurrency) {
		this.turnOutAmountCurrency = turnOutAmountCurrency;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	
	
	

}
  
